package LxTest;

public class Sumtest {
    public static void main(String[] args) {
        int sum = 0;
        for (int j = 1; j < 101; j++) {
            if (j % 2 != 0){
                sum = sum + j;
            }

        }
        System.out.println(sum);
        }
    }

